package 依赖倒置原则.classes.error;

public class Light 
{
	//开灯
	public void turnOnLight()
	{
		System.out.println("开灯");
	}
	
	//关灯
	public void turnOffLight()
	{
		System.out.println("关灯");
	}
}
